<template>
  <div class="title">
    <div class="sho_car_el_center">
      <a href="http://localhost:8080/#/">
        <div class="logo_img">
          <img src="@/assets/images/logo/xiaobaishop_1.jpg" />
        </div>
      </a>
      <div class="center">
        <div class="back_index"><a><span>返回首页</span></a></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style>
.back_index a:hover{
    cursor: pointer;
    color: #42b983;
}
.back_index a{
    cursor: pointer;
    font-weight: bold;
}
.back_index{
    width: auto;
    height: 100%;
    line-height: 64px;
    float: right;
}
.el-button--primary:focus {
  background-color: #958a7e90;
  border-color: #958a7e90;
}

.el-button--primary:hover {
  background-color: #958a7e90;
  border-color: #958a7e90;
}

.el-button--primary {
  color: #fff;
  background-color: #958a7e;
  border-color: #958a7e;
}
.btn button {
  border-radius: 30px;
}

.btn {
  width: 80px;
  height: 100%;
  float: right;
  line-height: 64px;
}
.center {
  width: calc(100% - 200px);
  height: 80%;
  /* background-color: red; */
  /* 垂直居中 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  float: right;
}
.logo_img img {
  width: 100px;
  height: 80px;
}
.logo_img {
  width: 100px;
  height: 80px;
  float: left;
}

.quart_input input {
  border-radius: 30px;
  -webkit-appearance: none;
  background-color: #fff;
  border-radius: 30px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  font-size: 14px;
  /* height: 40px; */
  line-height: 40px;
  outline: 0;
  padding: 0 15px;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}

.quart_input {
  width: auto;
  line-height: 64px;
  float: right;
  border-radius: 30px;
}
.sho_car_el_center {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  /* background-color: #a0a0a0; */
  position: relative;
}
.title {
  width: 100%;
  height: 80px;
  font-size: 20px;
  background-color: white;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  /* display: flex;
  justify-content: center;
  align-items: center; */
  position: relative;
}
</style>